package com.yangjiayu.controller;

import com.yangjiayu.ChatGLMTask;
import com.yangjiayu.grace.result.GraceJSONResult;
import com.yangjiayu.pojo.bo.SubmitAnswerBO;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Classname InterviewRecordController
 * @Description TODO
 * @Date 2025/6/20 20:50
 * @Created by YangJiaYu
 */
@RestController
@RequestMapping("interviewRecord")
public class InterviewRecordController {

    @Resource
    private ChatGLMTask chatGLMTask;



    @PostMapping("collect")
    public GraceJSONResult collect(@RequestBody SubmitAnswerBO submitAnswerVBO){
        chatGLMTask.display(submitAnswerVBO);
        return GraceJSONResult.ok();
    }

}
































